const { injectBabelPlugin } = require('react-app-rewired');
const rewireLess = require('react-app-rewire-less');
const decoratorsLegacy = require('babel-plugin-transform-decorators-legacy')
module.exports = function override(config, env) {
    console.log(config)
       config = injectBabelPlugin(
          ['import', {libraryName: 'antd', libraryDirectory: 'es', style: true }],
           config,
          );
    config = rewireLess.withLoaderOptions({
         modifyVars: { "@primary-color": "#49B0CD" },
        javascriptEnabled: true,
           })(config, env);
    return config;
};

